package org.flywaydb.core;

import java.io.File;

public class DeletePackageInfo {

    public static void main(String[] args) {
        File file = new File("C:\\Users\\PLAYBOY\\Downloads\\flyway-flyway-5.2.0\\flyway-core");
        listFiles(file);
    }

    public static void listFiles(File file) {
        File[] files = file.listFiles();
        if (files == null) return;
        for (File f : files) {
            if(f.isDirectory()){
                listFiles(f);
            }else{
                if(f.getName().equals("package-info.java")){
                    f.delete();
                }
            }
        }
    }

}
